You can make your script do the YoYo with the Label and Goto commands. It can be useful sometimes.
Heres an exemple :
ie.
...(script lines)
Label OneMoreTime
Add UserVar1,1
Set Objective 2
...(script lines)
WaitForObjectiveComplete
IfLessThan UserVar1,5 Goto OneMoreTime
MissionEnd